
.oban-modal(@width: 900px) {
  .oban-border-box();
  position: fixed;
  padding: 20px;
  top: 0;
  left: 50%;
  z-index: 999;
  overflow: auto;
  width: @width;
  margin: 0 0 0 -(@width/2);
  background-color: #ffffff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.3);

  border-radius: 6px;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  background-clip: padding-box;

  .oban-transition(top);

  button.close {
    .oban-button-reset();
    .oban-pull-right();
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    &:hover {
      border: 1px solid darken(#e5e5e5, 20);
    }
  }

  @media (min-height: 840px) {
    top: 100px;
  }

  @media (min-height: 585px) and (max-height: 840px) {
    top: 60px;
  }
}

.oban-modal-backdrop() {

  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 900;
  background-color: #000000;
  opacity: 0.8;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}
